package com.vframework.system.role.service;

import java.util.List;
import java.util.Map;

import com.vframework.base.exception.BaseException;
import com.vframework.base.service.BaseService;
import com.vframework.system.menu.model.MenuBean;
import com.vframework.system.role.model.RoleBean;

public interface RoleService extends BaseService {
    
	public Integer getCount(Map<String, Object> paramMap) throws BaseException;
	
	public List<RoleBean> getRoleList(Map<String, Object> paramMap) throws BaseException;

	public RoleBean getRoleById(String roleId) throws BaseException;

	public List<MenuBean>  getMenuByRole(Map<String, Object> paramMap) throws BaseException;
	
	public void editRole(RoleBean role)throws BaseException;
	
	public void addRole(RoleBean role)throws BaseException;
	
	public void deleteRole(Map<String, Object> paramMap)throws BaseException;
	//为添加操作时候，做的显示菜单查询
	public List<MenuBean>  getRoleMenuForAddList(String orgId) throws BaseException;
}
